package com.fin.quant.app.vo;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * 获取基于目标的推荐请求参数
 */
@Data
public class GetGoalBasedRecommendationsRequest {
    @NotBlank(message = "目标ID不能为空")
    private String goalId;

    private Long userId;

    @NotNull(message = "投资金额不能为空")
    @Positive(message = "投资金额必须大于0")
    private Double investmentAmount;

    @NotNull(message = "目标收入不能为空")
    @Positive(message = "目标收入必须大于0")
    private Double targetIncome;

    private String riskLevel;

    private Integer timeHorizon; // 时间跨度（年）
}
